<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.fick.hibernate.model.*"%>
<%@ page import="com.fick.hibernate.dao.*"%>
<%@ taglib uri="http://fckeditor.net/tags-fckeditor" prefix="FCK"%>
<html>
	<head>
		<style>
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

a.page:link {
	color: #FFFFFF;
	text-decoration: none;
}

a.page:hover {
	color: #FF00FF;
	text-decoration: none;
}

a.page          .:visited {
	color: #FFFFFF;
	text-decoration: none;
}

a.page:active {
	color: #FF00FF;
	text-decoration: none;
}

.STYLE2 {
	color: #666666
}

body {
	margin: 0px;
	font: normal 12px "宋体", "Verdana", "Arial", "Helvetica", "sans-serif";
	SCROLLBAR-FACE-COLOR: rgb(31, 111, 191);
	SCROLLBAR-HIGHLIGHT-COLOR: rgb(31, 111, 191);
	SCROLLBAR-SHADOW-COLOR: rgb(10, 0, 209);
	SCROLLBAR-3DLIGHT-COLOR: rgb(23, 121, 255);
	SCROLLBAR-ARROW-COLOR: rgb(2, 51, 138);
	SCROLLBAR-TRACK-COLOR: rgb(46, 131, 215);
	SCROLLBAR-BASE-COLOR: rgb(46, 131, 215);
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="js/meihuaxue.js"></script>
<script type="text/javascript">
<!--
			    function CheckForm() {
					if(document.form1.companyLinkName.value=="")
					{
						alert("请输入网址名字！");
						document.form1.companyLinkName.focus();
						return false;
					}
					if(document.form1.companyLinkURL.value=="")
					{
						alert("请输入网址URL！");
						document.form1.companyLinkURL.focus();
						return false;
					}
					
				}
				function isDigit() 
				  { 
				     var order = document.getElementById("order").value;
				     var patrn=/^[0-9]{1,20}$/; 
				      if (!patrn.exec(order)){
					    alert("请输入数字");
				        return false ;
			          }
		         }
//-->
</script>
	</head>
	<body bgcolor="#4194E7" leftmargin="0" topmargin="0" marginheight="0"
		marginwidth="0">
		<form name="form1" id="form1"
			action="/admin/managerCompanyLink.do?method=addCompanyLink"  method="post" onSubmit="return CheckForm();" />
			<table cellspacing="0" cellpadding="0" align="center" width="100%"
				cellspacing="20">
				<tr>
					<td bgcolor="#0650D2" align="center" height="25" class="lm_title">
						添 加 友 情 链 接 
					</td>
				</tr>
				<Tr>
					<td align="center">
						<table cellpadding="1" cellspacing="0" align="center" width="100%"
							class="main_table">
							<tr>
								<td>
									<table cellspacing="0" cellpadding="0" align="center"
										cellspacing="20" style="width: 670px; height: 263px;">
										<Tr>
											<td align="center">
												<table cellpadding="1" cellspacing="0" align="center"
													class="main_table" style="width: 768px; height: 211px;">
													<tr>
														<Td width="13%" align="right">
														  明星企业名称：
														</Td>
														<Td align="left" width="80%">
															<input name="companyLinkName" id="companyLinkName" size="30" value="" />
														</Td>
														
													</tr>
													<tr>
														<Td align="right">
															明星企业网址：
														</Td>
														<Td>
															<input name="companyLinkURL" id="companyLinkURL" size="30" value="" />
														</Td>
													</tr>
													<tr>
														<Td align="right">
															显示顺序：
														</Td>
														<Td colspan="3" height="100">
															<input type="text" name="order" size="30" onchange="isDigit();" />
														</Td>
													</tr>
													<tr>
														<td colspan="4" align="center">
															<input type="submit" value="提交" />
															<input type="reset" value="清空" />
														</td>
													</tr>
												</table>
											</td>
										</Tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</Tr>

				<tr>
					<td height="10"></td>
				</tr>
				<Tr>
					<td bgcolor="#0650D2" align="center" height="25" class="lm_title">
						Copyright 2008-2009 &copy; 登封市财政局 All Rights Reserved.
					</td>
				</Tr>

			</table>
		</form>
	</body>
</html>
<script type="text/javascript">
<!--
var message = "<%=session.getAttribute("message")%>";
if(message!=null && message!="null" && message !=""){
   alert(message);
  }
//-->
</script>
<%
	session.removeAttribute("message");
%>

